<ul class="lang">
	<li>
	<?php foreach($multiLangs as $key => $value):?>
		<a href="<?php echo Yii::app()->controller->createUrl('default/index', array('lang'=>$key));?>" <?php if($key==Yii::app()->language) echo 'class="selected"';?>><?php echo $value;?></a>
	<?php endforeach;?>
	</li>
</ul>